Simon McVittie [Tue, 28 Aug 2018 15:26:38 +0000 (16:26 +0100)]
test-webserver: Fix race condition
If we rely on the background subshell to create the httpd-output file,
and we are unlucky, then the "cp" invocation in the loop might execute
before the file has been created, and fail. This appears to have
happened on Debian's arm64 autobuilder, which failed with:
Running web server: PYTHONUNBUFFERED=1 setsid python3 /<<PKGBUILDDIR>>/tests/http-utils-test-server.py 0
Web server pid: 13319
Waiting for web server (1/300)...
cp: cannot stat '/var/tmp/tap-test.p1cxRN/httpd-output': No such file or directory
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name test-webserver-Fix-race-condition.patch
Simon McVittie [Tue, 28 Aug 2018 15:26:38 +0000 (16:26 +0100)]
test-webserver: Fix race condition
If we rely on the background subshell to create the httpd-output file,
and we are unlucky, then the "cp" invocation in the loop might execute
before the file has been created, and fail. This appears to have
happened on Debian's arm64 autobuilder, which failed with:
Running web server: PYTHONUNBUFFERED=1 setsid python3 /<<PKGBUILDDIR>>/tests/http-utils-test-server.py 0
Web server pid: 13319
Waiting for web server (1/300)...
cp: cannot stat '/var/tmp/tap-test.p1cxRN/httpd-output': No such file or directory
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/flatpak/flatpak/pull/2098
Gbp-Pq: Name test-webserver-Fix-race-condition.patch
Simon McVittie [Tue, 28 Aug 2018 15:26:38 +0000 (16:26 +0100)]
test-webserver: Fix race condition
If we rely on the background subshell to create the httpd-output file,
and we are unlucky, then the "cp" invocation in the loop might execute
before the file has been created, and fail. This appears to have
happened on Debian's arm64 autobuilder, which failed with:
Running web server: PYTHONUNBUFFERED=1 setsid python3 /<<PKGBUILDDIR>>/tests/http-utils-test-server.py 0
Web server pid: 13319
Waiting for web server (1/300)...
cp: cannot stat '/var/tmp/tap-test.p1cxRN/httpd-output': No such file or directory
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name test-webserver-Fix-race-condition.patch
Simon McVittie [Mon, 20 Aug 2018 14:22:46 +0000 (15:22 +0100)]
tests: Look for httpcache in ${test_builddir}, not PATH
For installed-tests, the installed test directory is not on the PATH.
To make this easier, put the uninstalled binary in tests/, so that
in both build-time and installed tests, it is in ${test_builddir}.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/flatpak/flatpak/pull/1989
Gbp-Pq: Name tests-Look-for-httpcache-in-test_builddir-not-PATH.patch
Simon McVittie [Mon, 20 Aug 2018 20:29:02 +0000 (21:29 +0100)]
flatpak (1.0.0-1) unstable; urgency=medium
* New upstream stable release
* (Build-)Depend on ostree 2018.7
* flatpak Recommends p11-kit, for p11-kit-server
* d/p/build-Install-httpcache-if-installed-tests-are-enabled.patch,
d/p/tests-Look-for-httpcache-in-test_builddir-not-PATH.patch:
Add patches to fix installed-tests
* d/p/Make-test-scripts-bilingual-Python-2-Python-3.patch,
d/p/test-webserver-Be-more-verbose-about-what-we-re-doing.patch:
Add patch to make test scripts equally valid in Python 3
* d/p/tests-Remove-vestigial-support-for-putting-Python-2-in-a-.patch:
Remove support for including Python 2 in a runtime, which is only
used in flatpak-builder
* d/p/debian/Use-Python-3-for-test-web-server.patch:
Expand to cover more test code
* Standards-Version: 4.2.0
Simon McVittie [Sat, 7 Jul 2018 11:54:42 +0000 (12:54 +0100)]
flatpak (0.99.2-3) unstable; urgency=medium
* Standards-Version: 4.1.5 (no changes required)
* Put helper binaries in /usr/libexec as allowed by FHS 3.0
* d/p/Fix-error-handling-while-deploying-AppStream.patch:
Add a patch fixing error handling in system helper
Simon McVittie [Sun, 1 Jul 2018 21:34:02 +0000 (22:34 +0100)]
flatpak (0.99.2-2) unstable; urgency=medium
* Version the ostree command-line tool dependency for the tests.
For the stretch backport, the ostree in stretch is not enough: we need
the one from stretch-backports.
Simon McVittie [Fri, 22 Jun 2018 21:12:01 +0000 (22:12 +0100)]
flatpak (0.99.1-1) unstable; urgency=medium
* New upstream release
- Update symbols file for new ABI
- Bump ostree dependencies to 2018.6
- flatpak Suggests avahi-daemon for peer-to-peer app sharing
- Install new flatpak-coredumpctl script as an example
Simon McVittie [Mon, 30 Apr 2018 14:27:33 +0000 (15:27 +0100)]
flatpak (0.11.5-1) unstable; urgency=medium
* New upstream release
* d/p/make-test-runtime-Look-in-usr-sbin-for-ldconfig.patch:
Use an upstreamable patch to detect /sbin/ldconfig in tests, instead
of working around lack of /sbin in PATH in Debian test scripts
* d/p/parse-datetime-Build-YACC-parser-from-source.patch:
Force parse-datetime.c to be build from source using bison
Simon McVittie [Sun, 11 Mar 2018 16:00:02 +0000 (16:00 +0000)]
flatpak (0.11.3-3) unstable; urgency=medium
* Add Recommends: policykit-1. This is required when installing apps and
runtimes system-wide, which is the default for the CLI, but is not
required when installing into your own home directory with
"flatpak --user install...". (Closes: #892583)
Simon McVittie [Thu, 1 Mar 2018 09:21:46 +0000 (09:21 +0000)]
flatpak (0.11.3-2) unstable; urgency=medium
* Merge from experimental to unstable
* d/p/Update-*-translation.patch: Update Czech and Indonesian
translations from upstream
* d/p/Fix-assertion-when-no-gsettings-schema-installed.patch:
Add patch from upstream fixing an assertion failure if no
GSettings schemas are installed
Simon McVittie [Wed, 14 Feb 2018 17:44:47 +0000 (17:44 +0000)]
flatpak (0.10.4-1) unstable; urgency=medium
* New upstream release
* Don't install documents portal or permission store. Depend on
xdg-desktop-portal (>= 0.10) instead: they have moved there.
* d/p/Only-require-FUSE-if-we-re-still-building-the-document-po.patch:
Don't depend on FUSE at build-time
Simon McVittie [Wed, 17 Jan 2018 20:55:34 +0000 (20:55 +0000)]
flatpak (0.10.2.1-2) unstable; urgency=medium
* Move Vcs-* to salsa.debian.org
* Standards-Version: 4.1.3 (no changes required)
* d/control, d/tests/control,
d/p/debian/Use-Python-3-for-test-web-server.patch:
Use Python 3 for tests